package com.shiro.service;

import com.shiro.mapper.UserMapper;
import com.shiro.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName: UserServiceImpl
 * @Description:
 * @Author: Administrator
 * @Date: 2021/3/25 0025 下午 14:42
 */
@Service("UserService")
public class UserServiceImpl {

    @Autowired
    private UserMapper userMapper;

    public User queryUserByName(String name) {
        return userMapper.queryUserByName(name);
    }
}
